package com.haust.dianqi.mapper;

import com.haust.dianqi.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Auther: csp1999
 * @Date: 2020/10/08/20:14
 * @Description:
 */
@Repository
public interface TestMapper {

    /*
     * 根据username查询user
     * @param: username
     * @return: com.haust.dianqi.pojo.User
     * @create: 2020/10/8 20:15
     * @author: csp1999
     */
    public User findUserByUsername(@Param("username") String username);
}
